package com.miaosha.ms_01.dao;

import com.miaosha.ms_01.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Description //TODO
 * @Author Administrator
 * @DATE 2020/9/13 17:00
 **/
@Mapper
public interface UserDao {

    @Select("SELECT * FROM user WHERE id = #{id}")
    User getUserById(Integer id);
}
